查询子商户 Channel 对象

请求参数描述
APP_ID required string平台应用对应 app 对象的id,该参数仅需要填写在请求地址内,查看如何获取App ID
SUB_APP_ID required string子商户应用 id,该参数仅需要填写在请求地址内。
CHANNEL required string支付渠道名称,该参数仅需要填写在请求地址内。

返回

返回一个 channel 对象,或者返回一个错误,详见 错误

定义

GET https://api.pingxx.com/v1/apps/{APP_ID}/sub_apps/{SUB_APP_ID}/channels/{CHANNEL}
待补充
待补充
待补充
待补充
待补充
待补充
待补充

请求示例

curl https://api.pingxx.com/v1/apps/{APP_ID}/sub_apps/{SUB_APP_ID}/channels/{CHANNEL} \
-H "Pingplusplus-Signature: SIGNATURE" \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Content-Type: application/json" \
-u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
    "object": "channel",
    "created": 1486198795,
    "channel": "alipay",
    "params": {
        "fee_rate": 60,
        "alipay_app_auth_token": "201510BBaabdb44d8fd04607abf8d5931ec75D84",
        "alipay_user_id": "2088011177545623",
        "alipay_auth_app_id": "2013111800001989",
        "alipay_expires_in": "31536000",
        "alipay_re_expires_in": "32140800",
        "alipay_app_refresh_token": "201510BB09dece3ea7654531b66bf9f97cdceE67",
        "auth_type": "alipay_token"
    },
    "banned": false,
    "banned_msg": null,
    "description": "description"
}